Summary

This is the polished plot of my dataset, if you want to see how the munging and cleaning behind the scenes, you can view it here! I used Plotly, which is really nifty, to draw my plot.

In [15]:
import plotly.tools as tls
import plotly as py
from plotly.offline import download_plotlyjs, init_notebook_mode, iplot
from plotly.graph_objs import *
import pandas as pd
In [17]:
#required to plot offline 
init_notebook_mode()

#loading in file
data = pd.read_csv('https://raw.githubusercontent.com/minh5/nlp-sentiment/master/csv/finaldata.csv', index_col=0)

# #plotting
iplot({
    'data': [
        Scatter(x=data.index,
                y=data[col],
                name=col) for col in data.columns],
    'layout': Layout(title=('Sentiment Analysis of Donald Trumps Tweets from Nov 28 to 30th'), 
                     font=dict(family='Arial',
                               size=10),
                     yaxis=YAxis(title='Number of Tweets')),
}, show_link=True)
Drawing...